package com.qyhl.shop.shop.rush.detail.order;

import com.qyhl.webtv.commonlib.entity.shop.ShopGiftDetailBean;
import com.qyhl.webtv.commonlib.entity.shop.ShopPayResultBean;

public interface ShopOrderContract {
    interface ShopOrderView {
        void setDetail(ShopGiftDetailBean bean);

        void paySuccess(ShopPayResultBean bean);

        void payError(String msg);

        void setError(String msg);
    }

    interface ShopOrderPresenter {
        void getDetail(int userGiftId);

        void pay(int userGiftId, String phoneNum, String sign, int payType);

        void paySuccess(ShopPayResultBean bean);

        void payError(String msg);

        void setDetail(ShopGiftDetailBean bean);

        void setError(String msg);
    }

    interface ShopOrderModel {
        void getDetail(int userGiftId);

        void pay(int userGiftId, String phoneNum, String sign, int payType);
    }
}
